package com.javabean;

import lombok.Data;

@Data
public class Users {
  private int id;
    private String email;
    private String username;
    private String password;
    private String phoneNum;
    private int status;// '状态0 未开启 1 开启',
  private Role role;

  public String getStatusStr() {
    if(status==0){
      return "未开启";
    }else if(status==1){
      return "开启";
    }
    return "";
  }
}
